import Mock from 'mockjs'

Mock.mock('/api/v1/artList',{
  "code":0,
  "msg":"success",
  "data|20":[
    {
      "id|+1":1,
      "title":"@ctitle",
      "desc|10-20":"@cword",
      "content":"<div><h1>我是详情内容</h1></div>",
      "author":"@cname",
	  "img":"@image('100x100','@color','小甜甜')"
    }
  ]
})